<?php
// $Id: command_manage.php 229 2008-03-03 13:27:42Z mikhail.miguel $

// 2007-02-20 K.OHWADA
// hack for multi site

// 2006-09-20 K.OHWADA
// this is new file
// move from other.php
// use bin_pass

//================================================================
// WebLinks Module
// 2006-09-20 K.OHWADA
//================================================================

include 'admin_header.php';

// hack for multi site
weblinks_admin_multi_disable_feature();

$conf_handler =& weblinks_get_handler('config2_basic', WEBLINKS_DIRNAME);

xoops_cp_header();

$conf =& $conf_handler->get_conf();
$pass = $conf['bin_pass'];

$url  = '../bin/link_check.php?pass='.$pass.'&amp;limit=10';

weblinks_admin_print_header();
weblinks_admin_print_menu();

echo "<h4>"._AM_WEBLINKS_COMMAND_MANAGE."</h4>\n";
echo '<a href="create_config.php">'._AM_WEBLINKS_CREATE_CONFIG."</a><br /><br />\n";
echo '<a href="'.$url.'">';
echo sprintf(_AM_WEBLINKS_TEST_EXEC, 'bin/link_check.php');
echo "</a><br /><br/>\n";

xoops_cp_footer();
exit();

?>